from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

router = DefaultRouter()
router.register(r'clusters', views.ClusterViewSet)
router.register(r'nodes', views.NodeViewSet)
router.register(r'instances', views.InstanceViewSet)
router.register(r'resource-usage', views.ResourceUsageViewSet)
router.register(r'user-actions', views.UserActionViewSet)

urlpatterns = [
    path('', include(router.urls)),
] 